//
//  UIColor+BVColor.m
//  BuyVegetable
//
//  Created by yushanchang on 16/9/28.
//  Copyright © 2016年 com.yinding. All rights reserved.
//

#import <UIKit/UIKit.h>

//动画枚举
typedef enum : NSUInteger {
    TransitionPageCurl,
    TransitionPageUnCurl,
    TransitionRippleEffect,
    TransitionSuckEffect,
    TransitionCube,
    TransitionOglFlip,
    TransitionPush
} TransitionType;

//动画方向
typedef enum : NSUInteger {
    FROM_LEFT,
    FROM_RIGHT,
    FROM_TOP,
    FROM_BOTTOM
} TransitionToward;


@interface UIView(TransitionAnimation)

- (void)addTransitionAnimationWithDuration:(CGFloat)duration type:(NSInteger)type subType:(NSInteger)subType;

@end
